
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 商家红包领取记录 
    /// </summary>
    public partial class ShopBonusReceiveInfo:BaseModel
    {
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 红包Id
        /// </summary>
        public long BonusGrantId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OpenId { get; set; }
        /// <summary>
        /// 面额
        /// </summary>
        public Nullable<decimal> Price { get; set; }
        /// <summary>
        /// 1.未使用 2.已使用 3.已过期
        /// </summary>
        public ReceiveState State { get; set; }
        /// <summary>
        /// 领取时间
        /// </summary>
        public Nullable<System.DateTime> ReceiveTime { get; set; }
        /// <summary>
        /// 使用时间
        /// </summary>
        public Nullable<System.DateTime> UsedTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Nullable<long> UserId { get; set; }
        /// <summary>
        /// 使用的订单号
        /// </summary>
        public Nullable<long> UsedOrderId { get; set; }
        public string WXName { get; set; }
        public string WXHead { get; set; }
    
        public virtual UserMemberInfo Himall_Members { get; set; }
        public virtual ShopBonusGrantInfo Himall_ShopBonusGrant { get; set; }
    }
}
